//
//  xianXiaTacketView.m
//  YuErmuYing
//
//  Created by Tiancheng on 16/9/26.
//  Copyright © 2016年 Tiancheng. All rights reserved.
//

#import "xianXiaTacketView.h"
#import "Macros.h"

@implementation xianXiaTacketView
@synthesize orderBtn,ticketLabel,priceLabel;
//pHeaderView.photo=pp;
+(instancetype)flagView:(xianXiaDetail*)xxd;
{
    xianXiaTacketView *xxt=[xianXiaTacketView new];
    xxt.xxd=xxd;
    return [[[NSBundle mainBundle] loadNibNamed:@"xianXiaTacketView"owner:nil options:nil]lastObject];
}

- (void)setFlag:(xianXiaDetail *)xxd
{
    _xxd = xxd;
    self.ticketLabel.text=xxd.ticket_nameString;
    self.priceLabel.text=[NSString stringWithFormat:@"¥  %@",xxd.ticket_priceString];
}

@end
